***Create Summary Statistics Table
do "$code/estimation/flexible/create_sumstat_table.do"

**BASELINE FULL EFFECT TABLES
global dataset = "bs_decomposition_SS_ProdR_new_kl"
global samplenametext = "Structural Value Added"
global samplenamefile = "SVA_decomp"

do "$code/estimation/postest/subfiles/firm_effect_table.do"


global dataset = "bs_firm_SS_ProdR_new_kl_allobs"
global samplenametext = "Structural Value Added (Full sample)"
global samplenamefile = "SVA_all"

do "$code/estimation/postest/subfiles/firm_effect_table.do"


***Create Sample Products Table
do "$code/estimation/flexible/create_sample_products_table.do"
***Create Sample Comparison Table
do "$code/estimation/flexible/create_sample_comparison_table.do"

***Create Product Function Parameters Tables
do "$code/estimation/postest/subfiles/production_function_parameters_table.do"

***Create Product Function Parameters Tables
do "$code/estimation/postest/subfiles/demand_parameters_table.do"

***Create Price Quantity Regression Tables
do "$code/estimation/postest/subfiles/P_Q_regressions.do"

***Create Welfare Tables
do "$code/estimation/postest/subfiles/welfare_regs_table.do"

***Create Elasticity Tables
do "$code/estimation/postest/subfiles/create_elasticity_tables.do"
do "$code/estimation/postest/subfiles/create_elasticity_tables_by_ind.do"

***Create Robustness Figures
do "$code/estimation/postest/subfiles/robustness figures.do"

***Create First Stage Tables
do "$code/estimation/postest/subfiles/first_stages.do"

***Create  Tables
do "$code/estimation/postest/subfiles/summary_work_add_drop.do"

***Create Variance Decomp Tables
do "$code/estimation/postest/subfiles/VarianceDecomp.do"

***Create Within Variance Regression Tables
do "$code/estimation/postest/subfiles/within_variance_regs.do"


**BASELINE FULL EFFECT TABLES
global dataset = "bs_decomposition_SS_ProdR_new_kl"
global samplenametext = "Structural Value Added"
global samplenamefile = "SVA_decomp"

do "$code/estimation/postest/subfiles/firm_effect_table.do"


global dataset = "bs_firm_SS_ProdR_new_kl_allobs"
global samplenametext = "Structural Value Added (Full sample)"
global samplenamefile = "SVA_all"

do "$code/estimation/postest/subfiles/firm_effect_table.do"

